# path = 'data/students.txt

# for i in range(10){
#  print(i)
#
# }

# 10 / 0 # ZeroDivisionError

# print(a) # NameError

str1 = "abc"
i1 = 123
# TypeError
# 字符串 不能直接 与 数值类型的数 相加 ,需要手动进行转换
print(str1 + str(i1))
# ValueError
# int(str1)
list1 = [1, 2, 3, 4]
print(len(list1))
# IndexError
# list1[4]
# AttributeError
list1.xxxx()
